<include file="Public:header" />
<div class="container clearfix">
<include file="Public:sidebar" />
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="index.html">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">礼包管理</span></div>
        </div>

        <div class="result-wrap">
            <form name="<!--{:U('libao/index')}-->" id="myform" method="post">
                <div class="result-title">
                    <div class="result-list">
                        <a href="insert.html"><i class="icon-font"></i>添加游戏</a>                        
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th width='5%'>ID</th>
                            <th width='8%'>游戏名</th>
                            <th>礼包名</th>
                            <th width='8%'>数据库名</th>
                            <th width='10%'>操作</th>
                        </tr>
                        <?php foreach($gamelist as $v){?>
                        <tr>                            
                            <td><?php echo $v['id'];?></td>
                            <td><?php echo $v['gamename'];?></td>
                            <td></td>
                            <td>libao_<?php echo $v['enname'];?></td>
                            <td><a href="<!--{:U('libao/post',array('type'=>'add','game_id'=>$v['id']))}-->">添加</a>&nbsp;|&nbsp;<a href=''>编辑</a>&nbsp;|&nbsp;<a href="">查看</a></td>                           
                        </tr>                        
                        <?php }?>
                    </table>
                    <div class="list-page"> 2 条 1/1 页</div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>